import { legacy_createStore as createStore , applyMiddleware , combineReducers } from "redux";
import thunk from "redux-thunk";
import logger from "redux-logger";
import loginReducer from "./module/login";
import userReducer from "./module/user";



const reducers = combineReducers({
    loginReducer,
    userReducer
});


export default createStore(reducers , applyMiddleware(thunk , logger))